package net.shopxx.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * 实体类 - 分店
 */

@Entity
public class Branch extends BaseEntity {

	private static final long serialVersionUID = 6209375046573887555L;
	private String name;// 名称
	private String url;// 网址
	private String displayName;// 显示名称
	
//	private Set<DeliveryType> deliveryTypeSet;// 配送方式

	@Column(nullable = false, unique = true)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	@Column(nullable = false)
	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

}